[INFO] cloning repository https://github.com/hongda3141/substrate_advance_lesson5
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hongda3141/substrate_advance_lesson5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongda3141%2Fsubstrate_advance_lesson5", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongda3141%2Fsubstrate_advance_lesson5'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7824952950a836c2721b39ba14a39165bd1d259c
[INFO] documenting hongda3141/substrate_advance_lesson5 against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhongda3141%2Fsubstrate_advance_lesson5" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hongda3141/substrate_advance_lesson5 on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/hongda3141/substrate_advance_lesson5
[INFO] finished tweaking git repo https://github.com/hongda3141/substrate_advance_lesson5
[INFO] tweaked toml for git repo https://github.com/hongda3141/substrate_advance_lesson5 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/hongda3141/substrate_advance_lesson5 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f60e081ab9571cffc530e1b5724041f4f1ce97a9df028d052e72ce366fce8793
[INFO] running `Command { std: "docker" "start" "-a" "f60e081ab9571cffc530e1b5724041f4f1ce97a9df028d052e72ce366fce8793", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f60e081ab9571cffc530e1b5724041f4f1ce97a9df028d052e72ce366fce8793", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f60e081ab9571cffc530e1b5724041f4f1ce97a9df028d052e72ce366fce8793", kill_on_drop: false }`
[INFO] [stdout] f60e081ab9571cffc530e1b5724041f4f1ce97a9df028d052e72ce366fce8793
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ae7c27d3e7fb8ab6da22c1c12914d83623e283cf56ec7992a69b30490bc0c9f
[INFO] running `Command { std: "docker" "start" "-a" "0ae7c27d3e7fb8ab6da22c1c12914d83623e283cf56ec7992a69b30490bc0c9f", kill_on_drop: false }`
[INFO] [stderr]  Documenting erc20 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0276]: impl has stricter requirements than trait
[INFO] [stdout]   --> lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | /     pub struct Erc20 {
[INFO] [stdout] 12 | |         /// Stores a single `bool` value on the storage.
[INFO] [stdout] 13 | |         total_supply: Balance,
[INFO] [stdout] 14 | |         balances: StorageHashMap<AccountId, Balance>,
[INFO] [stdout] 15 | |         allowance: StorageHashMap<(AccountId, AccountId), Balance>,
[INFO] [stdout] 16 | |     }
[INFO] [stdout]    | |_____^ impl has extra requirement `I: erc20::_::_parity_scale_codec::Input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `erc20::_::__ink_ConstructorDecoder: parity_scale_codec::codec::WrapperTypeDecode` is not satisfied
[INFO] [stdout]    --> lib.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout] 11  | /     pub struct Erc20 {
[INFO] [stdout] 12  | |         /// Stores a single `bool` value on the storage.
[INFO] [stdout] 13  | |         total_supply: Balance,
[INFO] [stdout] 14  | |         balances: StorageHashMap<AccountId, Balance>,
[INFO] [stdout] 15  | |         allowance: StorageHashMap<(AccountId, AccountId), Balance>,
[INFO] [stdout] 16  | |     }
[INFO] [stdout]     | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `erc20::_::__ink_ConstructorDecoder`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `parity_scale_codec::codec::WrapperTypeDecode`:
[INFO] [stdout]               std::boxed::Box<T>
[INFO] [stdout]               std::rc::Rc<T>
[INFO] [stdout]               std::sync::Arc<T>
[INFO] [stdout]     = note: required because of the requirements on the impl of `parity_scale_codec::codec::Decode` for `erc20::_::__ink_ConstructorDecoder`
[INFO] [stdout] note: required by a bound in `ink_lang::reflect::ContractConstructorDecoder::Type`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:509:16
[INFO] [stdout]     |
[INFO] [stdout] 509 |     type Type: DecodeDispatch + ExecuteDispatchable;
[INFO] [stdout]     |                ^^^^^^^^^^^^^^ required by this bound in `ink_lang::reflect::ContractConstructorDecoder::Type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `erc20::_::__ink_MessageDecoder: parity_scale_codec::codec::WrapperTypeDecode` is not satisfied
[INFO] [stdout]    --> lib.rs:11:5
[INFO] [stdout]     |
[INFO] [stdout] 11  | /     pub struct Erc20 {
[INFO] [stdout] 12  | |         /// Stores a single `bool` value on the storage.
[INFO] [stdout] 13  | |         total_supply: Balance,
[INFO] [stdout] 14  | |         balances: StorageHashMap<AccountId, Balance>,
[INFO] [stdout] 15  | |         allowance: StorageHashMap<(AccountId, AccountId), Balance>,
[INFO] [stdout] 16  | |     }
[INFO] [stdout]     | |_____^ the trait `parity_scale_codec::codec::WrapperTypeDecode` is not implemented for `erc20::_::__ink_MessageDecoder`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `parity_scale_codec::codec::WrapperTypeDecode`:
[INFO] [stdout]               std::boxed::Box<T>
[INFO] [stdout]               std::rc::Rc<T>
[INFO] [stdout]               std::sync::Arc<T>
[INFO] [stdout]     = note: required because of the requirements on the impl of `parity_scale_codec::codec::Decode` for `erc20::_::__ink_MessageDecoder`
[INFO] [stdout] note: required by a bound in `ink_lang::reflect::ContractMessageDecoder::Type`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ink_lang-3.0.0-rc8/src/reflect/dispatch.rs:429:16
[INFO] [stdout]     |
[INFO] [stdout] 429 |     type Type: scale::Decode + ExecuteDispatchable;
[INFO] [stdout]     |                ^^^^^^^^^^^^^ required by this bound in `ink_lang::reflect::ContractMessageDecoder::Type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied
[INFO] [stdout]   --> lib.rs:68:80
[INFO] [stdout]    |
[INFO] [stdout] 68 |         pub fn set_allowance(&mut self, spender: AccountId, value: Balance) -> Result<()> {
[INFO] [stdout]    |                                                                                ^^^^^^^^^^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result<T, E>`
[INFO] [stdout] note: required by a bound in `ink_lang::codegen::DispatchOutput`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ink_lang-3.0.0-rc8/src/codegen/dispatch/type_check.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 |     T: scale::Encode + 'static;
[INFO] [stdout]    |        ^^^^^^^^^^^^^ required by this bound in `ink_lang::codegen::DispatchOutput`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied
[INFO] [stdout]   --> lib.rs:84:70
[INFO] [stdout]    |
[INFO] [stdout] 84 |         pub fn transfer(&mut self, to: AccountId, value: Balance) -> Result<()> {
[INFO] [stdout]    |                                                                      ^^^^^^^^^^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result<T, E>`
[INFO] [stdout] note: required by a bound in `ink_lang::codegen::DispatchOutput`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ink_lang-3.0.0-rc8/src/codegen/dispatch/type_check.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 |     T: scale::Encode + 'static;
[INFO] [stdout]    |        ^^^^^^^^^^^^^ required by this bound in `ink_lang::codegen::DispatchOutput`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `std::result::Result<(), erc20::Error>: parity_scale_codec::codec::Encode` is not satisfied
[INFO] [stdout]    --> lib.rs:110:91
[INFO] [stdout]     |
[INFO] [stdout] 110 |         pub fn trasfer_from(&mut self, from: AccountId, to: AccountId, value: Balance) -> Result<()> {
[INFO] [stdout]     |                                                                                           ^^^^^^^^^^ the trait `parity_scale_codec::codec::Encode` is not implemented for `std::result::Result<(), erc20::Error>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `parity_scale_codec::codec::Encode` is implemented for `std::result::Result<T, E>`
[INFO] [stdout] note: required by a bound in `ink_lang::codegen::DispatchOutput`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ink_lang-3.0.0-rc8/src/codegen/dispatch/type_check.rs:69:8
[INFO] [stdout]     |
[INFO] [stdout] 69  |     T: scale::Encode + 'static;
[INFO] [stdout]     |        ^^^^^^^^^^^^^ required by this bound in `ink_lang::codegen::DispatchOutput`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0276, E0277.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0276`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `erc20`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type cdylib --crate-name erc20 lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --cfg 'feature="ink_metadata"' --cfg 'feature="scale-info"' --cfg 'feature="std"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=fc24f83b70912eb9 -L dependency=/opt/rustwide/target/debug/deps --extern ink_env=/opt/rustwide/target/debug/deps/libink_env-a718c7e4cdae7d65.rmeta --extern ink_lang=/opt/rustwide/target/debug/deps/libink_lang-007a5816b626f4b9.rmeta --extern ink_metadata=/opt/rustwide/target/debug/deps/libink_metadata-8d854121caaf871b.rmeta --extern ink_primitives=/opt/rustwide/target/debug/deps/libink_primitives-b37d67b48dc75c23.rmeta --extern ink_storage=/opt/rustwide/target/debug/deps/libink_storage-de2997bde322098a.rmeta --extern scale=/opt/rustwide/target/debug/deps/libparity_scale_codec-a3d3822e77aad27f.rmeta --extern scale_info=/opt/rustwide/target/debug/deps/libscale_info-5963aff8b63c74de.rmeta --cap-lints=allow -Zunstable-options -wjson --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "0ae7c27d3e7fb8ab6da22c1c12914d83623e283cf56ec7992a69b30490bc0c9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ae7c27d3e7fb8ab6da22c1c12914d83623e283cf56ec7992a69b30490bc0c9f", kill_on_drop: false }`
[INFO] [stdout] 0ae7c27d3e7fb8ab6da22c1c12914d83623e283cf56ec7992a69b30490bc0c9f
